package com.pipi.sso.core.service;

import com.pipi.sso.core.model.CollegeBO;
import com.pipi.sso.dao.support.PageResult;

import java.util.List;

/**
 * All rights Reserved, Designed By www.maihaoche.com
 *
 * @Package com.pipi.sso.core.service.impl
 * @date: 2019/3/30 9:38 PM
 * @Copyright: 2017-2020 www.maihaoche.com Inc. All rights reserved.
 */
public interface CollegeService {

    /**
     * <p> 分页条件查询 </p>
     *
     * @param collegeBO
     * @return List<CollegeBO>
     * @throws
     * @date 2019/4/3 7:37 PM
     */
    PageResult<CollegeBO> queryCollegeByPage(CollegeBO collegeBO);

    /**
     * <p> 查询学院 </p>
     *
     * @param collegeBO
     * @return PageResult<CollegeBO>
     * @throws
     * @date 2019/4/3 7:42 PM
     */
    List<CollegeBO> queryCollege(CollegeBO collegeBO);

    /**
     * <p> 添加学院 </p>
     *
     * @param collegeBO
     * @return Boolean
     * @throws
     * @date 2019/4/4 9:25 PM
     */
    Boolean addCollege(CollegeBO collegeBO);


    /**
     * <p> 更新状态 </p>
     *
     * @param collegeBO
     * @return Boolean
     * @throws
     * @date 2019/4/4 9:26 PM
     */
    Boolean updateStatus(CollegeBO collegeBO);
}
